package practice2019.dao;

import practice2019.domain.Lawyer;

import java.util.List;

/**
 *对律师档案表进行操作（增，改，查）
 * @author  Gao
 * @version 1.0
 */
public class LawyerDao {
    /**
     * 新建律师
     * @param lawyer
     * @return 返回1，表示成功，否则失败
     */
    public int createLawyer(Lawyer lawyer){
        System.out.println("创建律师");
        return 1;

    }

    /**
     * 修改律师
     * @param lawyer
     * @return
     */
    public int modifyLawyer(Lawyer lawyer){
        System.out.println("修改律师");
        return 1;
    }

    /**
     * 查询律师
     * @return
     */
    public List<Lawyer> findAllLawyer(){
        System.out.println("查询所有律师");
        return null;
    }
}











